package com.jboost.hyk.knowledge.entity;


import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.jboost.common.system.base.entity.JBoostEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 知识点
 * @Author: cxn
 * @Date:   2022-10-24
 * @Version: V1.0
 */
@Data
@TableName("hyk_knowledge_point")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hyk_knowledge_point对象", description="知识点")
public class KnowledgePoint extends JBoostEntity{

    @TableLogic
    /**delFlag*/
    @ApiModelProperty(value = "delFlag")
    private Integer delFlag;

    /**最新的版本编号*/
    @ApiModelProperty(value = "最新的版本编号")
    private String lastVersionCode;

    /**最新版本id*/
    @ApiModelProperty(value = "最新版本id")
    private String lastVersionId;

    @ApiModelProperty(value = "销量")
    private Integer salesVolume;

    @ApiModelProperty(value = "name")
    private String name;

    /**category1Id*/
    @ApiModelProperty(value = "category1Id")
    private String category1Id;

    /**category2Id*/
    @ApiModelProperty(value = "category2Id")
    private String category2Id;

    /**category3Id*/
    @ApiModelProperty(value = "category3Id")
    private String category3Id;

    /**teacherId*/
    @ApiModelProperty(value = "teacherId")
    private String teacherId;

    /**tagIds*/
    @ApiModelProperty(value = "tagIds")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String tagIds;

    /**时长（秒）*/
    @ApiModelProperty(value = "时长（秒）")
    private Integer duration;

    @ApiModelProperty(value = "是否需要下发:0-否；1-是")
    private Integer needRelease;


}
